Google\Web_Stories\Stories_Renderer\Renderer A

Total Complexity 70
Dependencies 5
Dependents 2
Total lines 708
Lines of code 317
Logical lines of code 136
Comment lines 292
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
get_view_classes()
A
54 10 19
get_content_overlay()
S
49 6 37
prepare_stories()
S
54 7 19
render_story_with_poster()
S
47 5 45
maybe_render_archive_link()
S
59 4 16
render_single_story_content()
S
52 3 27
get_container_classes()
S
60 4 12
render_stories_lightbox()
S
60 3 16
__construct()
S
71 4 5
generate_amp_lightbox_html_amp()
S
53 1 31
get_single_story_classes()
S
63 3 10
get_container_styles()
S
70 3 5
render()
S
63 3 10
render_stories_with_lightbox()
S
54 1 26
get_view_type()
S
78 2 3
is_view_type()
S
77 2 3
rewind()
S
81 1 3
valid()
S
79 1 3
init()
S
74 1 4
key()
S
82 1 3
next()
S
82 1 3
current()
S
80 1 3
generate_lightbox_html()
S
69 1 7
render_stories_with_lightbox_amp()
S
82 1 3
assets()
S
76 1 4